package com.jyh.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jyh.blog.dto.AlbumPhotoDTO;
import com.jyh.blog.dto.PhotoBackDTO;
import com.jyh.blog.entity.Photo;
import com.jyh.blog.vo.*;

import java.util.List;

/**
 * (Photo)表服务接口
 *
 * @author jyh
 * @since 2023-02-12 21:29:19
 */
public interface PhotoService extends IService<Photo> {

    void savePhoto(PhotoVO photoVO);

    PageResult<PhotoBackDTO> photoList(ConditionVO conditionVO);

    void logicDelete(DeleteVO deleteVO);

    void movePhoto(PhotoVO photoVO);

    void deletePhotos(List<String> photoIdList);

    void uploadPhoto(PhotoInfoVO photoInfoVo);

    AlbumPhotoDTO photoOfAlbumList(String id);
}

